package cn.net.sinodata.system.domain.bo;

import cn.net.sinodata.system.domain.BmTransLogMsg;
import cn.net.sinodata.common.mybatis.core.domain.BaseEntity;
import cn.net.sinodata.common.core.validate.AddGroup;
import cn.net.sinodata.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 交易日志报文业务对象 bm_trans_log_msg
 *
 * @author chenbaijun
 * @date 2025-10-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = BmTransLogMsg.class, reverseConvertGenerate = false)
public class BmTransLogMsgBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 交易日志表id
     */
    @NotBlank(message = "交易日志表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String transLogRecordId;

    /**
     * 请求报文
     */
    private String requestMsg;

    /**
     * 响应报文
     */
    private String responseMsg;

}
